package com.tm.media.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Author Ly
 * @Data 2023/3/5 14:43
 * @ClassName ApUnlikesBehaviorEn
 */
@Data
@TableName("ap_unlikes_behavior")
public class ApUnlikesBehaviorEntity{
    @TableId(type = IdType.AUTO)
    private Integer	id;
    private  Integer	entryId;
    private  Integer	articleId;
    private  Integer	type;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createdTime;

}
